#pragma once
#include "SysBusThread.h"
#include "ApanlyClientPlugin.h"

class CSysBus :
	public CSysBusThread,
	public ISysBus
{
public:
	CSysBus(void);
	~CSysBus(void);
public:
	virtual HRESULT RegistHandler(ISysBusHandler* handler,LONG lType);
	virtual HRESULT UnRegistHandler(ISysBusHandler* handler,LONG lType);
	virtual HRESULT PostMessage(ISysBusObject* evt);
	virtual HRESULT SendMessage(ISysBusObject* request, ISysBusObject* response, LONG* pVal) const;
};
